export default (_self, h) => {
	return h("el-input", {
		props: {
			value: _self.obj.value || "",
		},
		attrs: {
			disabled: !_self.obj.status,
			rows: _self.obj.rows,
			placeholder: _self.obj.placeholder || "这是一个输入框",
			type: "textarea",
		},
		class: "yn_ipt",
		on: {
			input(e) {
				_self.obj.value = e;
			},
		},
	});
};
export const textareaConf = {
	status: true, // 启用状态，true启用；false停用
	elementWidth: "100%",
	elementType: "textarea", // 对应数据库内类型
	elementName: "多行文本", // 控件左侧label内容
	placeholder: "请输入",
	value: "",
	icon: "el-icon-document-copy",
	required: false, // 配置的起始key
	rows: 3, // 默认行数
	rules: [],
};
